﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreeSql.DataAnnotations;
using hygge_imaotai.Domain;

namespace imaotai.Entity {
    public class ReservationResultEntity : ViewModelBase {
        #region Fields

        private long _id;
        private string _status;
        private string _mobilePhone;
        private string _itemId;
        private string _itemName;
        private string _img;
        private string _price;
        private string _shopId;
        private DateTime _reservationTime;
        private DateTime _createTime;

        #endregion
        #region Properties
        [Column(IsPrimary = true)]
        public long Id {
            get => _id;
            set => SetProperty(ref _id, value);
        }

 

        public string MobilePhone {
            get => _mobilePhone;
            set => SetProperty(ref _mobilePhone, value);
        }

        /// <summary>
        /// 预约结果 1 失败 2 成功
        /// </summary>
        public string Status {
            get => _status;
            set => SetProperty(ref _status, value);
        }

        public string ItemId {
            get => _itemId;
            set => SetProperty(ref _itemId, value);
        }

        public string ShopId {
            get => _shopId;
            set => SetProperty(ref _shopId, value);
        }

        public string Img {
            get => _img;
            set => SetProperty(ref _img, value);
        }

        public string Price {
            get => _price;
            set => SetProperty(ref _price, value);
        }

        public string ItemName {
            get => _itemName;
            set => SetProperty(ref _itemName, value);
        }

        public DateTime CreateTime {
            get => _createTime;
            set => SetProperty(ref _createTime, value);
        }

        /// <summary>
        /// 预约时间
        /// </summary>
        public DateTime ReservationTime {
            get => _reservationTime;
            set => SetProperty(ref _reservationTime, value);
        }

        #endregion
    }
}
